<%@ page language="java" import="java.util.*,com.jiankang.entity.*,com.jiankang.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<link href="<%=request.getContextPath() %>/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jsapi.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/format+zh_CN,default,corechart.I.js"></script>		
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.gvChart-1.0.1.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.ba-resize.min.js"></script>

<script type="text/javascript">
		gvChartInit();
		jQuery(document).ready(function(){

		jQuery('#myTable5').gvChart({
				chartType: 'PieChart',
				gvSettings: {
					vAxis: {title: 'No of players'},
					hAxis: {title: 'Month'},
					width: 650,
					height: 250
					}
			});
		});
		</script>
</head>


<body>
<c:if test="${empty currentUser}">
<jsp:include page="404.jsp"/>
</c:if>
<c:if test="${!empty currentUser}">

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="">首页</a></li>
    <li><a href="">工作台</a></li>
    </ul>
    </div>
    <div class="mainbox">
    <div class="mainleft">
    <div class="leftinfo">
    <div class="listtitle">数据统计</div>
         <ul class="newlist">
    <li><i>会员数统计：</i>${user}</li>
    <li><i>健康档案统计：</i>${healthfile}</li>
    <li><i>用户资讯统计/追加统计：</i>${adviceforUser}/${adviceforUserask}</li>
    <li><i>加盟统计：</i>${selectthcare}</li>    
    <li><i>预约统计：</i>${makeappointment}</li> 
    <li>
 
    <i>病症评论统计：</i><c:out value="${fn:length(usercomment)}"></c:out>
 
    </li>    
    <li>
    <i>健康常识评论统计：</i> <c:out value="${fn:length(usercomment)}"></c:out> 
    </li> 
    </ul>        
    </div>
    <div class="leftinfos">
    <div class="infoleft">
    <div class="listtitle">待办事项</div>    
    <ul class="newlist">
    </ul>   
    </div>
    <div class="inforight">
    <div class="listtitle">常用工具</div>
    </div>
    </div>
    </div>
    <div class="mainright">
    <div class="dflist">
    <div class="listtitle">最新信息</div>    
    <ul class="newlist">
   
    </ul>        
    </div>
    
    
    <div class="dflist1">
    <div class="listtitle">信息统计</div>    
    <ul class="newlist">


    
    </ul>        
    </div>
    
    </div>
    </div>
</c:if>


</body>
<script type="text/javascript">
	setWidth();
	$(window).resize(function(){
		setWidth();	
	});
	function setWidth(){
		var width = ($('.leftinfos').width()-12)/2;
		$('.infoleft,.inforight').width(width);
	}
</script>

</html>
